![]() |
GetNextDevice |
||||
Header: | Quickdraw.h | Carbon status: | Supported | |
Returns a handle to the next GDevice structure in the device list.
GDHandle GetNextDevice ( GDHandle curDevice );
A handle to the GDevice structure at which you want the search to begin.
A handle to the next device. If there are no more GDevice structures in the list, NULL.
After using any of the functions GetDeviceList, GetGDevice, GetMainDevice, or GetMaxDevice to obtain a handle to a GDevice structure, use the GetNextDevice function to obtain a handle to the next GDevice structure in the list.
The GetNextDevice function may move or purge memory blocks in the application heap; do not call this function at interrupt time.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)